#include <54func.h>
int main()
{
    FILE *fp = popen("./printf","r");//父进程从管道读取数据，子进程写入数据到管道中
    char buf[4096] = {0};
    fread(buf,1,sizeof(buf),fp);
    printf("buf = %s\n",buf);
    return 0;
}
